import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import './registerServiceWorker'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import axios from '@/config/axios.js'
import api from '@/config/api.js'
import debugout from '@/util/debugout.js'


var log=new debugout()
// console.log(log)

log.logFilename='mylog.txt';
Vue.prototype.$log=log;
Vue.prototype.$axios=axios;
Vue.prototype.$api=api;
Vue.config.productionTip = false;
//使用Element UI
Vue.use(ElementUI)

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
